home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2846 < prev    next >
Encoding:
Text File  |  1996-08-06  |  2.2 KB  |  49 lines

  1. Newsgroups: comp.lang.c++
  2. Path: hpwisf1.han.federal.unisys.com!usenet
  3. From: Clarence Ferguson <fergusoc>
  4. Subject: Why C++/G++/?++
  5. Content-Type: text/plain; charset=us-ascii
  6. Message-ID: <DLFosu.F6s@Federal.Unisys.COM>
  7. Sender: usenet@Federal.Unisys.COM
  8. Nntp-Posting-Host: scorpio.han.federal.unisys.com
  9. Content-Transfer-Encoding: 7bit
  10. Organization: Unisys Federal Systems/Network Systems Technology
  11. Mime-Version: 1.0
  12. Date: Fri, 19 Jan 1996 15:10:06 GMT
  13. X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.2 sun4c)
  14. X-Url: news:comp.lang.c++
  15.  
  16. I am not trying to start a flame war so please don't but I must wonder outloud
  17. why one would choose C++ over something like Ada95? It sure as heck isn't
  18. because C++ is more mature. Hell, its changing (or has done so historically)
  19. at Stroustroupe's whim.
  20. Why are concurrent operations not a part of the language? Why aren't exceptions
  21. automatically raised? Why are the only encpsulation mechanisms Classes
  22. and files? In the long run, what does multiple inheritance being a formally
  23. defined part of the language buy you?
  24. In Ada95 (and Ada83) concurrency is a standard part of the language and must
  25. be in every compiler. Exceptions are automatically raised and propigated
  26. outward until an exception handler is found or the OS is reached (at which time
  27. the application aborts). In addition to classes and files, Ada95 has the
  28. encapsulation mechanisms of Packages, generics, and tasks to more accurately
  29. model your application needs. Ada does not support multiple inheritance
  30. directly within the core language, but one may extend (through packages and
  31. such) to get that feature (A feature which more folks are realizing
  32. may be more trouble than it is worth - IMHO).
  33.  
  34. No religious arguments please - I am really trying to understand the commercial
  35. mindset that says a language like C/C++ is better (more reliable, portable, 
  36. readable, testable, or maintainable) than Ada83/Ada95.
  37.  
  38. If you want to know more about Ada95 try 
  39. http://sw-eng.falls-church.va.us/AdaIC/Welcome.html
  40.  
  41. This will get you into the Ada Information Clearinghouse and
  42. present you access to manuals, standards, POCs etc for Ada95.
  43.  
  44. Time to put the old soapbox away and don my flame retardent suit ;-)
  45.  
  46. TIA
  47. JAy Ferguson
  48.  
  49.